{"ast":null,"code":"import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { clearFix, resetComponent } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nexport const genPlaceholderStyle = color => ({\n  // Firefox\n  '&::-moz-placeholder': {\n    opacity: 1\n  },\n  '&::placeholder': {\n    color,\n    userSelect: 'none' // https://github.com/ant-design/ant-design/pull/32639\n  },\n\n  '&:placeholder-shown': {\n    textOverflow: 'ellipsis'\n  }\n});\nexport const genHoverStyle = token => ({\n  borderColor: token.inputBorderHoverColor,\n  borderInlineEndWidth: token.lineWidth\n});\nexport const genActiveStyle = token => ({\n  borderColor: token.inputBorderHoverColor,\n  boxShadow: `0 0 0 ${token.controlOutlineWidth}px ${token.controlOutline}`,\n  borderInlineEndWidth: token.lineWidth,\n  outline: 0\n});\nexport const genDisabledStyle = token => ({\n  color: token.colorTextDisabled,\n  backgroundColor: token.colorBgContainerDisabled,\n  borderColor: token.colorBorder,\n  boxShadow: 'none',\n  cursor: 'not-allowed',\n  opacity: 1,\n  '&:hover': Object.assign({}, genHoverStyle(mergeToken(token, {\n    inputBorderHoverColor: token.colorBorder\n  })))\n});\nconst genInputLargeStyle = token => {\n  const {\n    inputPaddingVerticalLG,\n    fontSizeLG,\n    lineHeightLG,\n    borderRadiusLG,\n    inputPaddingHorizontalLG\n  } = token;\n  return {\n    padding: `${inputPaddingVerticalLG}px ${inputPaddingHorizontalLG}px`,\n    fontSize: fontSizeLG,\n    lineHeight: lineHeightLG,\n    borderRadius: borderRadiusLG\n  };\n};\nexport const genInputSmallStyle = token => ({\n  padding: `${token.inputPaddingVerticalSM}px ${token.controlPaddingHorizontalSM - 1}px`,\n  borderRadius: token.borderRadiusSM\n});\nexport const genStatusStyle = token => {\n  const {\n    componentCls,\n    colorError,\n    colorWarning,\n    colorErrorOutline,\n    colorWarningOutline,\n    colorErrorBorderHover,\n    colorWarningBorderHover\n  } = token;\n  return {\n    '&-status-error:not(&-disabled):not(&-borderless)&': {\n      borderColor: colorError,\n      '&:hover': {\n        borderColor: colorErrorBorderHover\n      },\n      '&:focus, &-focused': Object.assign({}, genActiveStyle(mergeToken(token, {\n        inputBorderActiveColor: colorError,\n        inputBorderHoverColor: colorError,\n        controlOutline: colorErrorOutline\n      }))),\n      [`${componentCls}-prefix`]: {\n        color: colorError\n      }\n    },\n    '&-status-warning:not(&-disabled):not(&-borderless)&': {\n      borderColor: colorWarning,\n      '&:hover': {\n        borderColor: colorWarningBorderHover\n      },\n      '&:focus, &-focused': Object.assign({}, genActiveStyle(mergeToken(token, {\n        inputBorderActiveColor: colorWarning,\n        inputBorderHoverColor: colorWarning,\n        controlOutline: colorWarningOutline\n      }))),\n      [`${componentCls}-prefix`]: {\n        color: colorWarning\n      }\n    }\n  };\n};\nexport const genBasicInputStyle = token => Object.assign(Object.assign({\n  position: 'relative',\n  display: 'inline-block',\n  width: '100%',\n  minWidth: 0,\n  padding: `${token.inputPaddingVertical}px ${token.inputPaddingHorizontal}px`,\n  color: token.colorText,\n  fontSize: token.fontSize,\n  lineHeight: token.lineHeight,\n  backgroundColor: token.colorBgContainer,\n  backgroundImage: 'none',\n  borderWidth: token.lineWidth,\n  borderStyle: token.lineType,\n  borderColor: token.colorBorder,\n  borderRadius: token.borderRadius,\n  transition: `all ${token.motionDurationMid}`\n}, genPlaceholderStyle(token.colorTextPlaceholder)), {\n  '&:hover': Object.assign({}, genHoverStyle(token)),\n  '&:focus, &-focused': Object.assign({}, genActiveStyle(token)),\n  '&-disabled, &[disabled]': Object.assign({}, genDisabledStyle(token)),\n  '&-borderless': {\n    '&, &:hover, &:focus, &-focused, &-disabled, &[disabled]': {\n      backgroundColor: 'transparent',\n      border: 'none',\n      boxShadow: 'none'\n    }\n  },\n  // Reset height for `textarea`s\n  'textarea&': {\n    maxWidth: '100%',\n    height: 'auto',\n    minHeight: token.controlHeight,\n    lineHeight: token.lineHeight,\n    verticalAlign: 'bottom',\n    transition: `all ${token.motionDurationSlow}, height 0s`,\n    resize: 'vertical'\n  },\n  // Size\n  '&-lg': Object.assign({}, genInputLargeStyle(token)),\n  '&-sm': Object.assign({}, genInputSmallStyle(token)),\n  // RTL\n  '&-rtl': {\n    direction: 'rtl'\n  },\n  '&-textarea-rtl': {\n    direction: 'rtl'\n  }\n});\nexport const genInputGroupStyle = token => {\n  const {\n    componentCls,\n    antCls\n  } = token;\n  return {\n    position: 'relative',\n    display: 'table',\n    width: '100%',\n    borderCollapse: 'separate',\n    borderSpacing: 0,\n    // Undo padding and float of grid classes\n    [`&[class*='col-']`]: {\n      paddingInlineEnd: token.paddingXS,\n      '&:last-child': {\n        paddingInlineEnd: 0\n      }\n    },\n    // Sizing options\n    [`&-lg ${componentCls}, &-lg > ${componentCls}-group-addon`]: Object.assign({}, genInputLargeStyle(token)),\n    [`&-sm ${componentCls}, &-sm > ${componentCls}-group-addon`]: Object.assign({}, genInputSmallStyle(token)),\n    // Fix https://github.com/ant-design/ant-design/issues/5754\n    [`&-lg ${antCls}-select-single ${antCls}-select-selector`]: {\n      height: token.controlHeightLG\n    },\n    [`&-sm ${antCls}-select-single ${antCls}-select-selector`]: {\n      height: token.controlHeightSM\n    },\n    [`> ${componentCls}`]: {\n      display: 'table-cell',\n      '&:not(:first-child):not(:last-child)': {\n        borderRadius: 0\n      }\n    },\n    [`${componentCls}-group`]: {\n      [`&-addon, &-wrap`]: {\n        display: 'table-cell',\n        width: 1,\n        whiteSpace: 'nowrap',\n        verticalAlign: 'middle',\n        '&:not(:first-child):not(:last-child)': {\n          borderRadius: 0\n        }\n      },\n      '&-wrap > *': {\n        display: 'block !important'\n      },\n      '&-addon': {\n        position: 'relative',\n        padding: `0 ${token.inputPaddingHorizontal}px`,\n        color: token.colorText,\n        fontWeight: 'normal',\n        fontSize: token.fontSize,\n        textAlign: 'center',\n        backgroundColor: token.colorFillAlter,\n        border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`,\n        borderRadius: token.borderRadius,\n        transition: `all ${token.motionDurationSlow}`,\n        lineHeight: 1,\n        // Reset Select's style in addon\n        [`${antCls}-select`]: {\n          margin: `-${token.inputPaddingVertical + 1}px -${token.inputPaddingHorizontal}px`,\n          [`&${antCls}-select-single:not(${antCls}-select-customize-input)`]: {\n            [`${antCls}-select-selector`]: {\n              backgroundColor: 'inherit',\n              border: `${token.lineWidth}px ${token.lineType} transparent`,\n              boxShadow: 'none'\n            }\n          },\n          '&-open, &-focused': {\n            [`${antCls}-select-selector`]: {\n              color: token.colorPrimary\n            }\n          }\n        },\n        // https://github.com/ant-design/ant-design/issues/31333\n        [`${antCls}-cascader-picker`]: {\n          margin: `-9px -${token.inputPaddingHorizontal}px`,\n          backgroundColor: 'transparent',\n          [`${antCls}-cascader-input`]: {\n            textAlign: 'start',\n            border: 0,\n            boxShadow: 'none'\n          }\n        }\n      },\n      '&-addon:first-child': {\n        borderInlineEnd: 0\n      },\n      '&-addon:last-child': {\n        borderInlineStart: 0\n      }\n    },\n    [`${componentCls}`]: {\n      float: 'inline-start',\n      width: '100%',\n      marginBottom: 0,\n      textAlign: 'inherit',\n      '&:focus': {\n        zIndex: 1,\n        borderInlineEndWidth: 1\n      },\n      '&:hover': {\n        zIndex: 1,\n        borderInlineEndWidth: 1,\n        [`${componentCls}-search-with-button &`]: {\n          zIndex: 0\n        }\n      }\n    },\n    // Reset rounded corners\n    [`> ${componentCls}:first-child, ${componentCls}-group-addon:first-child`]: {\n      borderStartEndRadius: 0,\n      borderEndEndRadius: 0,\n      // Reset Select's style in addon\n      [`${antCls}-select ${antCls}-select-selector`]: {\n        borderStartEndRadius: 0,\n        borderEndEndRadius: 0\n      }\n    },\n    [`> ${componentCls}-affix-wrapper`]: {\n      [`&:not(:first-child) ${componentCls}`]: {\n        borderStartStartRadius: 0,\n        borderEndStartRadius: 0\n      },\n      [`&:not(:last-child) ${componentCls}`]: {\n        borderStartEndRadius: 0,\n        borderEndEndRadius: 0\n      }\n    },\n    [`> ${componentCls}:last-child, ${componentCls}-group-addon:last-child`]: {\n      borderStartStartRadius: 0,\n      borderEndStartRadius: 0,\n      // Reset Select's style in addon\n      [`${antCls}-select ${antCls}-select-selector`]: {\n        borderStartStartRadius: 0,\n        borderEndStartRadius: 0\n      }\n    },\n    [`${componentCls}-affix-wrapper`]: {\n      '&:not(:last-child)': {\n        borderStartEndRadius: 0,\n        borderEndEndRadius: 0,\n        [`${componentCls}-search &`]: {\n          borderStartStartRadius: token.borderRadius,\n          borderEndStartRadius: token.borderRadius\n        }\n      },\n      [`&:not(:first-child), ${componentCls}-search &:not(:first-child)`]: {\n        borderStartStartRadius: 0,\n        borderEndStartRadius: 0\n      }\n    },\n    '&&-compact': Object.assign(Object.assign({\n      display: 'block'\n    }, clearFix()), {\n      [`${componentCls}-group-addon, ${componentCls}-group-wrap, > ${componentCls}`]: {\n        '&:not(:first-child):not(:last-child)': {\n          borderInlineEndWidth: token.lineWidth,\n          '&:hover': {\n            zIndex: 1\n          },\n          '&:focus': {\n            zIndex: 1\n          }\n        }\n      },\n      '& > *': {\n        display: 'inline-block',\n        float: 'none',\n        verticalAlign: 'top',\n        borderRadius: 0\n      },\n      [`& > ${componentCls}-affix-wrapper`]: {\n        display: 'inline-flex'\n      },\n      [`& > ${antCls}-picker-range`]: {\n        display: 'inline-flex'\n      },\n      '& > *:not(:last-child)': {\n        marginInlineEnd: -token.lineWidth,\n        borderInlineEndWidth: token.lineWidth\n      },\n      // Undo float for .ant-input-group .ant-input\n      [`${componentCls}`]: {\n        float: 'none'\n      },\n      // reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input\n      [`& > ${antCls}-select > ${antCls}-select-selector,\n      & > ${antCls}-select-auto-complete ${componentCls},\n      & > ${antCls}-cascader-picker ${componentCls},\n      & > ${componentCls}-group-wrapper ${componentCls}`]: {\n        borderInlineEndWidth: token.lineWidth,\n        borderRadius: 0,\n        '&:hover': {\n          zIndex: 1\n        },\n        '&:focus': {\n          zIndex: 1\n        }\n      },\n      [`& > ${antCls}-select-focused`]: {\n        zIndex: 1\n      },\n      // update z-index for arrow icon\n      [`& > ${antCls}-select > ${antCls}-select-arrow`]: {\n        zIndex: 1 // https://github.com/ant-design/ant-design/issues/20371\n      },\n\n      [`& > *:first-child,\n      & > ${antCls}-select:first-child > ${antCls}-select-selector,\n      & > ${antCls}-select-auto-complete:first-child ${componentCls},\n      & > ${antCls}-cascader-picker:first-child ${componentCls}`]: {\n        borderStartStartRadius: token.borderRadius,\n        borderEndStartRadius: token.borderRadius\n      },\n      [`& > *:last-child,\n      & > ${antCls}-select:last-child > ${antCls}-select-selector,\n      & > ${antCls}-cascader-picker:last-child ${componentCls},\n      & > ${antCls}-cascader-picker-focused:last-child ${componentCls}`]: {\n        borderInlineEndWidth: token.lineWidth,\n        borderStartEndRadius: token.borderRadius,\n        borderEndEndRadius: token.borderRadius\n      },\n      // https://github.com/ant-design/ant-design/issues/12493\n      [`& > ${antCls}-select-auto-complete ${componentCls}`]: {\n        verticalAlign: 'top'\n      },\n      [`${componentCls}-group-wrapper + ${componentCls}-group-wrapper`]: {\n        marginInlineStart: -token.lineWidth,\n        [`${componentCls}-affix-wrapper`]: {\n          borderRadius: 0\n        }\n      },\n      [`${componentCls}-group-wrapper:not(:last-child)`]: {\n        [`&${componentCls}-search > ${componentCls}-group`]: {\n          [`& > ${componentCls}-group-addon > ${componentCls}-search-button`]: {\n            borderRadius: 0\n          },\n          [`& > ${componentCls}`]: {\n            borderStartStartRadius: token.borderRadius,\n            borderStartEndRadius: 0,\n            borderEndEndRadius: 0,\n            borderEndStartRadius: token.borderRadius\n          }\n        }\n      }\n    })\n  };\n};\nconst genInputStyle = token => {\n  const {\n    componentCls,\n    controlHeightSM,\n    lineWidth\n  } = token;\n  const FIXED_CHROME_COLOR_HEIGHT = 16;\n  const colorSmallPadding = (controlHeightSM - lineWidth * 2 - FIXED_CHROME_COLOR_HEIGHT) / 2;\n  return {\n    [`${componentCls}`]: Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genBasicInputStyle(token)), genStatusStyle(token)), {\n      '&[type=\"color\"]': {\n        height: token.controlHeight,\n        [`&${componentCls}-lg`]: {\n          height: token.controlHeightLG\n        },\n        [`&${componentCls}-sm`]: {\n          height: controlHeightSM,\n          paddingTop: colorSmallPadding,\n          paddingBottom: colorSmallPadding\n        }\n      }\n    })\n  };\n};\nconst genAllowClearStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    // ========================= Input =========================\n    [`${componentCls}-clear-icon`]: {\n      margin: 0,\n      color: token.colorTextQuaternary,\n      fontSize: token.fontSizeIcon,\n      verticalAlign: -1,\n      // https://github.com/ant-design/ant-design/pull/18151\n      // https://codesandbox.io/s/wizardly-sun-u10br\n      cursor: 'pointer',\n      transition: `color ${token.motionDurationSlow}`,\n      '&:hover': {\n        color: token.colorTextTertiary\n      },\n      '&:active': {\n        color: token.colorText\n      },\n      '&-hidden': {\n        visibility: 'hidden'\n      },\n      '&-has-suffix': {\n        margin: `0 ${token.inputAffixPadding}px`\n      }\n    },\n    // ======================= TextArea ========================\n    '&-textarea-with-clear-btn': {\n      padding: '0 !important',\n      border: '0 !important',\n      [`${componentCls}-clear-icon`]: {\n        position: 'absolute',\n        insetBlockStart: token.paddingXS,\n        insetInlineEnd: token.paddingXS,\n        zIndex: 1\n      }\n    }\n  };\n};\nconst genAffixStyle = token => {\n  const {\n    componentCls,\n    inputAffixPadding,\n    colorTextDescription,\n    motionDurationSlow,\n    colorIcon,\n    colorIconHover,\n    iconCls\n  } = token;\n  return {\n    [`${componentCls}-affix-wrapper`]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genBasicInputStyle(token)), {\n      display: 'inline-flex',\n      '&:not(&-disabled):hover': Object.assign(Object.assign({}, genHoverStyle(token)), {\n        zIndex: 1,\n        [`${componentCls}-search-with-button &`]: {\n          zIndex: 0\n        }\n      }),\n      '&-focused, &:focus': {\n        zIndex: 1\n      },\n      '&-disabled': {\n        [`${componentCls}[disabled]`]: {\n          background: 'transparent'\n        }\n      },\n      [`> input${componentCls}`]: {\n        padding: 0,\n        fontSize: 'inherit',\n        border: 'none',\n        borderRadius: 0,\n        outline: 'none',\n        '&:focus': {\n          boxShadow: 'none !important'\n        }\n      },\n      '&::before': {\n        width: 0,\n        visibility: 'hidden',\n        content: '\"\\\\a0\"'\n      },\n      [`${componentCls}`]: {\n        '&-prefix, &-suffix': {\n          display: 'flex',\n          flex: 'none',\n          alignItems: 'center',\n          '> *:not(:last-child)': {\n            marginInlineEnd: token.paddingXS\n          }\n        },\n        '&-show-count-suffix': {\n          color: colorTextDescription\n        },\n        '&-show-count-has-suffix': {\n          marginInlineEnd: token.paddingXXS\n        },\n        '&-prefix': {\n          marginInlineEnd: inputAffixPadding\n        },\n        '&-suffix': {\n          marginInlineStart: inputAffixPadding\n        }\n      }\n    }), genAllowClearStyle(token)), {\n      // password\n      [`${iconCls}${componentCls}-password-icon`]: {\n        color: colorIcon,\n        cursor: 'pointer',\n        transition: `all ${motionDurationSlow}`,\n        '&:hover': {\n          color: colorIconHover\n        }\n      }\n    }), genStatusStyle(token))\n  };\n};\nconst genGroupStyle = token => {\n  const {\n    componentCls,\n    colorError,\n    colorSuccess,\n    borderRadiusLG,\n    borderRadiusSM\n  } = token;\n  return {\n    [`${componentCls}-group`]: Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genInputGroupStyle(token)), {\n      '&-rtl': {\n        direction: 'rtl'\n      },\n      '&-wrapper': {\n        display: 'inline-block',\n        width: '100%',\n        textAlign: 'start',\n        verticalAlign: 'top',\n        '&-rtl': {\n          direction: 'rtl'\n        },\n        // Size\n        '&-lg': {\n          [`${componentCls}-group-addon`]: {\n            borderRadius: borderRadiusLG\n          }\n        },\n        '&-sm': {\n          [`${componentCls}-group-addon`]: {\n            borderRadius: borderRadiusSM\n          }\n        },\n        // Status\n        '&-status-error': {\n          [`${componentCls}-group-addon`]: {\n            color: colorError,\n            borderColor: colorError\n          }\n        },\n        '&-status-warning': {\n          [`${componentCls}-group-addon:last-child`]: {\n            color: colorSuccess,\n            borderColor: colorSuccess\n          }\n        }\n      }\n    })\n  };\n};\nconst genSearchInputStyle = token => {\n  const {\n    componentCls,\n    antCls\n  } = token;\n  const searchPrefixCls = `${componentCls}-search`;\n  return {\n    [searchPrefixCls]: {\n      [`${componentCls}`]: {\n        '&:hover, &:focus': {\n          borderColor: token.colorPrimaryHover,\n          [`+ ${componentCls}-group-addon ${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {\n            borderInlineStartColor: token.colorPrimaryHover\n          }\n        }\n      },\n      [`${componentCls}-affix-wrapper`]: {\n        borderRadius: 0\n      },\n      // fix slight height diff in Firefox:\n      // https://ant.design/components/auto-complete-cn/#components-auto-complete-demo-certain-category\n      [`${componentCls}-lg`]: {\n        lineHeight: token.lineHeightLG - 0.0002\n      },\n      [`> ${componentCls}-group`]: {\n        [`> ${componentCls}-group-addon:last-child`]: {\n          insetInlineStart: -1,\n          padding: 0,\n          border: 0,\n          [`${searchPrefixCls}-button`]: {\n            paddingTop: 0,\n            paddingBottom: 0,\n            borderStartStartRadius: 0,\n            borderStartEndRadius: token.borderRadius,\n            borderEndEndRadius: token.borderRadius,\n            borderEndStartRadius: 0\n          },\n          [`${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {\n            color: token.colorTextDescription,\n            '&:hover': {\n              color: token.colorPrimaryHover\n            },\n            '&:active': {\n              color: token.colorPrimaryActive\n            },\n            [`&${antCls}-btn-loading::before`]: {\n              insetInlineStart: 0,\n              insetInlineEnd: 0,\n              insetBlockStart: 0,\n              insetBlockEnd: 0\n            }\n          }\n        }\n      },\n      [`${searchPrefixCls}-button`]: {\n        height: token.controlHeight,\n        '&:hover, &:focus': {\n          zIndex: 1\n        }\n      },\n      [`&-large ${searchPrefixCls}-button`]: {\n        height: token.controlHeightLG\n      },\n      [`&-small ${searchPrefixCls}-button`]: {\n        height: token.controlHeightSM\n      },\n      '&-rtl': {\n        direction: 'rtl'\n      },\n      // ===================== Compact Item Customized Styles =====================\n      [`&${componentCls}-compact-item`]: {\n        [`&:not(${componentCls}-compact-last-item)`]: {\n          [`${componentCls}-group-addon`]: {\n            [`${componentCls}-search-button`]: {\n              marginInlineEnd: -token.lineWidth,\n              borderRadius: 0\n            }\n          }\n        },\n        [`&:not(${componentCls}-compact-first-item)`]: {\n          [`${componentCls},${componentCls}-affix-wrapper`]: {\n            borderRadius: 0\n          }\n        },\n        [`> ${componentCls}-group-addon ${componentCls}-search-button,\n        > ${componentCls},\n        ${componentCls}-affix-wrapper`]: {\n          '&:hover,&:focus,&:active': {\n            zIndex: 2\n          }\n        },\n        [`> ${componentCls}-affix-wrapper-focused`]: {\n          zIndex: 2\n        }\n      }\n    }\n  };\n};\nexport function initInputToken(token) {\n  // @ts-ignore\n  return mergeToken(token, {\n    inputAffixPadding: token.paddingXXS,\n    inputPaddingVertical: Math.max(Math.round((token.controlHeight - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 3),\n    inputPaddingVerticalLG: Math.ceil((token.controlHeightLG - token.fontSizeLG * token.lineHeightLG) / 2 * 10) / 10 - token.lineWidth,\n    inputPaddingVerticalSM: Math.max(Math.round((token.controlHeightSM - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 0),\n    inputPaddingHorizontal: token.paddingSM - token.lineWidth,\n    inputPaddingHorizontalSM: token.paddingXS - token.lineWidth,\n    inputPaddingHorizontalLG: token.controlPaddingHorizontal - token.lineWidth,\n    inputBorderHoverColor: token.colorPrimaryHover,\n    inputBorderActiveColor: token.colorPrimaryHover\n  });\n}\nconst genTextAreaStyle = token => {\n  const {\n    componentCls,\n    inputPaddingHorizontal,\n    paddingLG\n  } = token;\n  const textareaPrefixCls = `${componentCls}-textarea`;\n  return {\n    [textareaPrefixCls]: {\n      position: 'relative',\n      [`${textareaPrefixCls}-suffix`]: {\n        position: 'absolute',\n        top: 0,\n        insetInlineEnd: inputPaddingHorizontal,\n        bottom: 0,\n        zIndex: 1,\n        display: 'inline-flex',\n        alignItems: 'center',\n        margin: 'auto'\n      },\n      [`&-status-error,\n        &-status-warning,\n        &-status-success,\n        &-status-validating`]: {\n        [`&${textareaPrefixCls}-has-feedback`]: {\n          [`${componentCls}`]: {\n            paddingInlineEnd: paddingLG\n          }\n        }\n      },\n      '&-show-count': {\n        // https://github.com/ant-design/ant-design/issues/33049\n        [`> ${componentCls}`]: {\n          height: '100%'\n        },\n        '&::after': {\n          color: token.colorTextDescription,\n          whiteSpace: 'nowrap',\n          content: 'attr(data-count)',\n          pointerEvents: 'none',\n          float: 'right'\n        }\n      },\n      '&-rtl': {\n        '&::after': {\n          float: 'left'\n        }\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Input', token => {\n  const inputToken = initInputToken(token);\n  return [genInputStyle(inputToken), genTextAreaStyle(inputToken), genAffixStyle(inputToken), genGroupStyle(inputToken), genSearchInputStyle(inputToken),\n  // =====================================================\n  // ==             Space Compact                       ==\n  // =====================================================\n  genCompactItemStyle(inputToken)];\n});","map":{"version":3,"names":["genComponentStyleHook","mergeToken","clearFix","resetComponent","genCompactItemStyle","genPlaceholderStyle","color","opacity","userSelect","textOverflow","genHoverStyle","token","borderColor","inputBorderHoverColor","borderInlineEndWidth","lineWidth","genActiveStyle","boxShadow","controlOutlineWidth","controlOutline","outline","genDisabledStyle","colorTextDisabled","backgroundColor","colorBgContainerDisabled","colorBorder","cursor","Object","assign","genInputLargeStyle","inputPaddingVerticalLG","fontSizeLG","lineHeightLG","borderRadiusLG","inputPaddingHorizontalLG","padding","fontSize","lineHeight","borderRadius","genInputSmallStyle","inputPaddingVerticalSM","controlPaddingHorizontalSM","borderRadiusSM","genStatusStyle","componentCls","colorError","colorWarning","colorErrorOutline","colorWarningOutline","colorErrorBorderHover","colorWarningBorderHover","inputBorderActiveColor","genBasicInputStyle","position","display","width","minWidth","inputPaddingVertical","inputPaddingHorizontal","colorText","colorBgContainer","backgroundImage","borderWidth","borderStyle","lineType","transition","motionDurationMid","colorTextPlaceholder","border","maxWidth","height","minHeight","controlHeight","verticalAlign","motionDurationSlow","resize","direction","genInputGroupStyle","antCls","borderCollapse","borderSpacing","paddingInlineEnd","paddingXS","controlHeightLG","controlHeightSM","whiteSpace","fontWeight","textAlign","colorFillAlter","margin","colorPrimary","borderInlineEnd","borderInlineStart","float","marginBottom","zIndex","borderStartEndRadius","borderEndEndRadius","borderStartStartRadius","borderEndStartRadius","marginInlineEnd","marginInlineStart","genInputStyle","FIXED_CHROME_COLOR_HEIGHT","colorSmallPadding","paddingTop","paddingBottom","genAllowClearStyle","colorTextQuaternary","fontSizeIcon","colorTextTertiary","visibility","inputAffixPadding","insetBlockStart","insetInlineEnd","genAffixStyle","colorTextDescription","colorIcon","colorIconHover","iconCls","background","content","flex","alignItems","paddingXXS","genGroupStyle","colorSuccess","genSearchInputStyle","searchPrefixCls","colorPrimaryHover","borderInlineStartColor","insetInlineStart","colorPrimaryActive","insetBlockEnd","initInputToken","Math","max","round","ceil","paddingSM","inputPaddingHorizontalSM","controlPaddingHorizontal","genTextAreaStyle","paddingLG","textareaPrefixCls","top","bottom","pointerEvents","inputToken"],"sources":["/data/messenger.client/node_modules/antd/es/input/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { clearFix, resetComponent } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nexport const genPlaceholderStyle = color => ({\n  // Firefox\n  '&::-moz-placeholder': {\n    opacity: 1\n  },\n  '&::placeholder': {\n    color,\n    userSelect: 'none' // https://github.com/ant-design/ant-design/pull/32639\n  },\n\n  '&:placeholder-shown': {\n    textOverflow: 'ellipsis'\n  }\n});\nexport const genHoverStyle = token => ({\n  borderColor: token.inputBorderHoverColor,\n  borderInlineEndWidth: token.lineWidth\n});\nexport const genActiveStyle = token => ({\n  borderColor: token.inputBorderHoverColor,\n  boxShadow: `0 0 0 ${token.controlOutlineWidth}px ${token.controlOutline}`,\n  borderInlineEndWidth: token.lineWidth,\n  outline: 0\n});\nexport const genDisabledStyle = token => ({\n  color: token.colorTextDisabled,\n  backgroundColor: token.colorBgContainerDisabled,\n  borderColor: token.colorBorder,\n  boxShadow: 'none',\n  cursor: 'not-allowed',\n  opacity: 1,\n  '&:hover': Object.assign({}, genHoverStyle(mergeToken(token, {\n    inputBorderHoverColor: token.colorBorder\n  })))\n});\nconst genInputLargeStyle = token => {\n  const {\n    inputPaddingVerticalLG,\n    fontSizeLG,\n    lineHeightLG,\n    borderRadiusLG,\n    inputPaddingHorizontalLG\n  } = token;\n  return {\n    padding: `${inputPaddingVerticalLG}px ${inputPaddingHorizontalLG}px`,\n    fontSize: fontSizeLG,\n    lineHeight: lineHeightLG,\n    borderRadius: borderRadiusLG\n  };\n};\nexport const genInputSmallStyle = token => ({\n  padding: `${token.inputPaddingVerticalSM}px ${token.controlPaddingHorizontalSM - 1}px`,\n  borderRadius: token.borderRadiusSM\n});\nexport const genStatusStyle = token => {\n  const {\n    componentCls,\n    colorError,\n    colorWarning,\n    colorErrorOutline,\n    colorWarningOutline,\n    colorErrorBorderHover,\n    colorWarningBorderHover\n  } = token;\n  return {\n    '&-status-error:not(&-disabled):not(&-borderless)&': {\n      borderColor: colorError,\n      '&:hover': {\n        borderColor: colorErrorBorderHover\n      },\n      '&:focus, &-focused': Object.assign({}, genActiveStyle(mergeToken(token, {\n        inputBorderActiveColor: colorError,\n        inputBorderHoverColor: colorError,\n        controlOutline: colorErrorOutline\n      }))),\n      [`${componentCls}-prefix`]: {\n        color: colorError\n      }\n    },\n    '&-status-warning:not(&-disabled):not(&-borderless)&': {\n      borderColor: colorWarning,\n      '&:hover': {\n        borderColor: colorWarningBorderHover\n      },\n      '&:focus, &-focused': Object.assign({}, genActiveStyle(mergeToken(token, {\n        inputBorderActiveColor: colorWarning,\n        inputBorderHoverColor: colorWarning,\n        controlOutline: colorWarningOutline\n      }))),\n      [`${componentCls}-prefix`]: {\n        color: colorWarning\n      }\n    }\n  };\n};\nexport const genBasicInputStyle = token => Object.assign(Object.assign({\n  position: 'relative',\n  display: 'inline-block',\n  width: '100%',\n  minWidth: 0,\n  padding: `${token.inputPaddingVertical}px ${token.inputPaddingHorizontal}px`,\n  color: token.colorText,\n  fontSize: token.fontSize,\n  lineHeight: token.lineHeight,\n  backgroundColor: token.colorBgContainer,\n  backgroundImage: 'none',\n  borderWidth: token.lineWidth,\n  borderStyle: token.lineType,\n  borderColor: token.colorBorder,\n  borderRadius: token.borderRadius,\n  transition: `all ${token.motionDurationMid}`\n}, genPlaceholderStyle(token.colorTextPlaceholder)), {\n  '&:hover': Object.assign({}, genHoverStyle(token)),\n  '&:focus, &-focused': Object.assign({}, genActiveStyle(token)),\n  '&-disabled, &[disabled]': Object.assign({}, genDisabledStyle(token)),\n  '&-borderless': {\n    '&, &:hover, &:focus, &-focused, &-disabled, &[disabled]': {\n      backgroundColor: 'transparent',\n      border: 'none',\n      boxShadow: 'none'\n    }\n  },\n  // Reset height for `textarea`s\n  'textarea&': {\n    maxWidth: '100%',\n    height: 'auto',\n    minHeight: token.controlHeight,\n    lineHeight: token.lineHeight,\n    verticalAlign: 'bottom',\n    transition: `all ${token.motionDurationSlow}, height 0s`,\n    resize: 'vertical'\n  },\n  // Size\n  '&-lg': Object.assign({}, genInputLargeStyle(token)),\n  '&-sm': Object.assign({}, genInputSmallStyle(token)),\n  // RTL\n  '&-rtl': {\n    direction: 'rtl'\n  },\n  '&-textarea-rtl': {\n    direction: 'rtl'\n  }\n});\nexport const genInputGroupStyle = token => {\n  const {\n    componentCls,\n    antCls\n  } = token;\n  return {\n    position: 'relative',\n    display: 'table',\n    width: '100%',\n    borderCollapse: 'separate',\n    borderSpacing: 0,\n    // Undo padding and float of grid classes\n    [`&[class*='col-']`]: {\n      paddingInlineEnd: token.paddingXS,\n      '&:last-child': {\n        paddingInlineEnd: 0\n      }\n    },\n    // Sizing options\n    [`&-lg ${componentCls}, &-lg > ${componentCls}-group-addon`]: Object.assign({}, genInputLargeStyle(token)),\n    [`&-sm ${componentCls}, &-sm > ${componentCls}-group-addon`]: Object.assign({}, genInputSmallStyle(token)),\n    // Fix https://github.com/ant-design/ant-design/issues/5754\n    [`&-lg ${antCls}-select-single ${antCls}-select-selector`]: {\n      height: token.controlHeightLG\n    },\n    [`&-sm ${antCls}-select-single ${antCls}-select-selector`]: {\n      height: token.controlHeightSM\n    },\n    [`> ${componentCls}`]: {\n      display: 'table-cell',\n      '&:not(:first-child):not(:last-child)': {\n        borderRadius: 0\n      }\n    },\n    [`${componentCls}-group`]: {\n      [`&-addon, &-wrap`]: {\n        display: 'table-cell',\n        width: 1,\n        whiteSpace: 'nowrap',\n        verticalAlign: 'middle',\n        '&:not(:first-child):not(:last-child)': {\n          borderRadius: 0\n        }\n      },\n      '&-wrap > *': {\n        display: 'block !important'\n      },\n      '&-addon': {\n        position: 'relative',\n        padding: `0 ${token.inputPaddingHorizontal}px`,\n        color: token.colorText,\n        fontWeight: 'normal',\n        fontSize: token.fontSize,\n        textAlign: 'center',\n        backgroundColor: token.colorFillAlter,\n        border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`,\n        borderRadius: token.borderRadius,\n        transition: `all ${token.motionDurationSlow}`,\n        lineHeight: 1,\n        // Reset Select's style in addon\n        [`${antCls}-select`]: {\n          margin: `-${token.inputPaddingVertical + 1}px -${token.inputPaddingHorizontal}px`,\n          [`&${antCls}-select-single:not(${antCls}-select-customize-input)`]: {\n            [`${antCls}-select-selector`]: {\n              backgroundColor: 'inherit',\n              border: `${token.lineWidth}px ${token.lineType} transparent`,\n              boxShadow: 'none'\n            }\n          },\n          '&-open, &-focused': {\n            [`${antCls}-select-selector`]: {\n              color: token.colorPrimary\n            }\n          }\n        },\n        // https://github.com/ant-design/ant-design/issues/31333\n        [`${antCls}-cascader-picker`]: {\n          margin: `-9px -${token.inputPaddingHorizontal}px`,\n          backgroundColor: 'transparent',\n          [`${antCls}-cascader-input`]: {\n            textAlign: 'start',\n            border: 0,\n            boxShadow: 'none'\n          }\n        }\n      },\n      '&-addon:first-child': {\n        borderInlineEnd: 0\n      },\n      '&-addon:last-child': {\n        borderInlineStart: 0\n      }\n    },\n    [`${componentCls}`]: {\n      float: 'inline-start',\n      width: '100%',\n      marginBottom: 0,\n      textAlign: 'inherit',\n      '&:focus': {\n        zIndex: 1,\n        borderInlineEndWidth: 1\n      },\n      '&:hover': {\n        zIndex: 1,\n        borderInlineEndWidth: 1,\n        [`${componentCls}-search-with-button &`]: {\n          zIndex: 0\n        }\n      }\n    },\n    // Reset rounded corners\n    [`> ${componentCls}:first-child, ${componentCls}-group-addon:first-child`]: {\n      borderStartEndRadius: 0,\n      borderEndEndRadius: 0,\n      // Reset Select's style in addon\n      [`${antCls}-select ${antCls}-select-selector`]: {\n        borderStartEndRadius: 0,\n        borderEndEndRadius: 0\n      }\n    },\n    [`> ${componentCls}-affix-wrapper`]: {\n      [`&:not(:first-child) ${componentCls}`]: {\n        borderStartStartRadius: 0,\n        borderEndStartRadius: 0\n      },\n      [`&:not(:last-child) ${componentCls}`]: {\n        borderStartEndRadius: 0,\n        borderEndEndRadius: 0\n      }\n    },\n    [`> ${componentCls}:last-child, ${componentCls}-group-addon:last-child`]: {\n      borderStartStartRadius: 0,\n      borderEndStartRadius: 0,\n      // Reset Select's style in addon\n      [`${antCls}-select ${antCls}-select-selector`]: {\n        borderStartStartRadius: 0,\n        borderEndStartRadius: 0\n      }\n    },\n    [`${componentCls}-affix-wrapper`]: {\n      '&:not(:last-child)': {\n        borderStartEndRadius: 0,\n        borderEndEndRadius: 0,\n        [`${componentCls}-search &`]: {\n          borderStartStartRadius: token.borderRadius,\n          borderEndStartRadius: token.borderRadius\n        }\n      },\n      [`&:not(:first-child), ${componentCls}-search &:not(:first-child)`]: {\n        borderStartStartRadius: 0,\n        borderEndStartRadius: 0\n      }\n    },\n    '&&-compact': Object.assign(Object.assign({\n      display: 'block'\n    }, clearFix()), {\n      [`${componentCls}-group-addon, ${componentCls}-group-wrap, > ${componentCls}`]: {\n        '&:not(:first-child):not(:last-child)': {\n          borderInlineEndWidth: token.lineWidth,\n          '&:hover': {\n            zIndex: 1\n          },\n          '&:focus': {\n            zIndex: 1\n          }\n        }\n      },\n      '& > *': {\n        display: 'inline-block',\n        float: 'none',\n        verticalAlign: 'top',\n        borderRadius: 0\n      },\n      [`& > ${componentCls}-affix-wrapper`]: {\n        display: 'inline-flex'\n      },\n      [`& > ${antCls}-picker-range`]: {\n        display: 'inline-flex'\n      },\n      '& > *:not(:last-child)': {\n        marginInlineEnd: -token.lineWidth,\n        borderInlineEndWidth: token.lineWidth\n      },\n      // Undo float for .ant-input-group .ant-input\n      [`${componentCls}`]: {\n        float: 'none'\n      },\n      // reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input\n      [`& > ${antCls}-select > ${antCls}-select-selector,\n      & > ${antCls}-select-auto-complete ${componentCls},\n      & > ${antCls}-cascader-picker ${componentCls},\n      & > ${componentCls}-group-wrapper ${componentCls}`]: {\n        borderInlineEndWidth: token.lineWidth,\n        borderRadius: 0,\n        '&:hover': {\n          zIndex: 1\n        },\n        '&:focus': {\n          zIndex: 1\n        }\n      },\n      [`& > ${antCls}-select-focused`]: {\n        zIndex: 1\n      },\n      // update z-index for arrow icon\n      [`& > ${antCls}-select > ${antCls}-select-arrow`]: {\n        zIndex: 1 // https://github.com/ant-design/ant-design/issues/20371\n      },\n      [`& > *:first-child,\n      & > ${antCls}-select:first-child > ${antCls}-select-selector,\n      & > ${antCls}-select-auto-complete:first-child ${componentCls},\n      & > ${antCls}-cascader-picker:first-child ${componentCls}`]: {\n        borderStartStartRadius: token.borderRadius,\n        borderEndStartRadius: token.borderRadius\n      },\n      [`& > *:last-child,\n      & > ${antCls}-select:last-child > ${antCls}-select-selector,\n      & > ${antCls}-cascader-picker:last-child ${componentCls},\n      & > ${antCls}-cascader-picker-focused:last-child ${componentCls}`]: {\n        borderInlineEndWidth: token.lineWidth,\n        borderStartEndRadius: token.borderRadius,\n        borderEndEndRadius: token.borderRadius\n      },\n      // https://github.com/ant-design/ant-design/issues/12493\n      [`& > ${antCls}-select-auto-complete ${componentCls}`]: {\n        verticalAlign: 'top'\n      },\n      [`${componentCls}-group-wrapper + ${componentCls}-group-wrapper`]: {\n        marginInlineStart: -token.lineWidth,\n        [`${componentCls}-affix-wrapper`]: {\n          borderRadius: 0\n        }\n      },\n      [`${componentCls}-group-wrapper:not(:last-child)`]: {\n        [`&${componentCls}-search > ${componentCls}-group`]: {\n          [`& > ${componentCls}-group-addon > ${componentCls}-search-button`]: {\n            borderRadius: 0\n          },\n          [`& > ${componentCls}`]: {\n            borderStartStartRadius: token.borderRadius,\n            borderStartEndRadius: 0,\n            borderEndEndRadius: 0,\n            borderEndStartRadius: token.borderRadius\n          }\n        }\n      }\n    })\n  };\n};\nconst genInputStyle = token => {\n  const {\n    componentCls,\n    controlHeightSM,\n    lineWidth\n  } = token;\n  const FIXED_CHROME_COLOR_HEIGHT = 16;\n  const colorSmallPadding = (controlHeightSM - lineWidth * 2 - FIXED_CHROME_COLOR_HEIGHT) / 2;\n  return {\n    [`${componentCls}`]: Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genBasicInputStyle(token)), genStatusStyle(token)), {\n      '&[type=\"color\"]': {\n        height: token.controlHeight,\n        [`&${componentCls}-lg`]: {\n          height: token.controlHeightLG\n        },\n        [`&${componentCls}-sm`]: {\n          height: controlHeightSM,\n          paddingTop: colorSmallPadding,\n          paddingBottom: colorSmallPadding\n        }\n      }\n    })\n  };\n};\nconst genAllowClearStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    // ========================= Input =========================\n    [`${componentCls}-clear-icon`]: {\n      margin: 0,\n      color: token.colorTextQuaternary,\n      fontSize: token.fontSizeIcon,\n      verticalAlign: -1,\n      // https://github.com/ant-design/ant-design/pull/18151\n      // https://codesandbox.io/s/wizardly-sun-u10br\n      cursor: 'pointer',\n      transition: `color ${token.motionDurationSlow}`,\n      '&:hover': {\n        color: token.colorTextTertiary\n      },\n      '&:active': {\n        color: token.colorText\n      },\n      '&-hidden': {\n        visibility: 'hidden'\n      },\n      '&-has-suffix': {\n        margin: `0 ${token.inputAffixPadding}px`\n      }\n    },\n    // ======================= TextArea ========================\n    '&-textarea-with-clear-btn': {\n      padding: '0 !important',\n      border: '0 !important',\n      [`${componentCls}-clear-icon`]: {\n        position: 'absolute',\n        insetBlockStart: token.paddingXS,\n        insetInlineEnd: token.paddingXS,\n        zIndex: 1\n      }\n    }\n  };\n};\nconst genAffixStyle = token => {\n  const {\n    componentCls,\n    inputAffixPadding,\n    colorTextDescription,\n    motionDurationSlow,\n    colorIcon,\n    colorIconHover,\n    iconCls\n  } = token;\n  return {\n    [`${componentCls}-affix-wrapper`]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, genBasicInputStyle(token)), {\n      display: 'inline-flex',\n      '&:not(&-disabled):hover': Object.assign(Object.assign({}, genHoverStyle(token)), {\n        zIndex: 1,\n        [`${componentCls}-search-with-button &`]: {\n          zIndex: 0\n        }\n      }),\n      '&-focused, &:focus': {\n        zIndex: 1\n      },\n      '&-disabled': {\n        [`${componentCls}[disabled]`]: {\n          background: 'transparent'\n        }\n      },\n      [`> input${componentCls}`]: {\n        padding: 0,\n        fontSize: 'inherit',\n        border: 'none',\n        borderRadius: 0,\n        outline: 'none',\n        '&:focus': {\n          boxShadow: 'none !important'\n        }\n      },\n      '&::before': {\n        width: 0,\n        visibility: 'hidden',\n        content: '\"\\\\a0\"'\n      },\n      [`${componentCls}`]: {\n        '&-prefix, &-suffix': {\n          display: 'flex',\n          flex: 'none',\n          alignItems: 'center',\n          '> *:not(:last-child)': {\n            marginInlineEnd: token.paddingXS\n          }\n        },\n        '&-show-count-suffix': {\n          color: colorTextDescription\n        },\n        '&-show-count-has-suffix': {\n          marginInlineEnd: token.paddingXXS\n        },\n        '&-prefix': {\n          marginInlineEnd: inputAffixPadding\n        },\n        '&-suffix': {\n          marginInlineStart: inputAffixPadding\n        }\n      }\n    }), genAllowClearStyle(token)), {\n      // password\n      [`${iconCls}${componentCls}-password-icon`]: {\n        color: colorIcon,\n        cursor: 'pointer',\n        transition: `all ${motionDurationSlow}`,\n        '&:hover': {\n          color: colorIconHover\n        }\n      }\n    }), genStatusStyle(token))\n  };\n};\nconst genGroupStyle = token => {\n  const {\n    componentCls,\n    colorError,\n    colorSuccess,\n    borderRadiusLG,\n    borderRadiusSM\n  } = token;\n  return {\n    [`${componentCls}-group`]: Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genInputGroupStyle(token)), {\n      '&-rtl': {\n        direction: 'rtl'\n      },\n      '&-wrapper': {\n        display: 'inline-block',\n        width: '100%',\n        textAlign: 'start',\n        verticalAlign: 'top',\n        '&-rtl': {\n          direction: 'rtl'\n        },\n        // Size\n        '&-lg': {\n          [`${componentCls}-group-addon`]: {\n            borderRadius: borderRadiusLG\n          }\n        },\n        '&-sm': {\n          [`${componentCls}-group-addon`]: {\n            borderRadius: borderRadiusSM\n          }\n        },\n        // Status\n        '&-status-error': {\n          [`${componentCls}-group-addon`]: {\n            color: colorError,\n            borderColor: colorError\n          }\n        },\n        '&-status-warning': {\n          [`${componentCls}-group-addon:last-child`]: {\n            color: colorSuccess,\n            borderColor: colorSuccess\n          }\n        }\n      }\n    })\n  };\n};\nconst genSearchInputStyle = token => {\n  const {\n    componentCls,\n    antCls\n  } = token;\n  const searchPrefixCls = `${componentCls}-search`;\n  return {\n    [searchPrefixCls]: {\n      [`${componentCls}`]: {\n        '&:hover, &:focus': {\n          borderColor: token.colorPrimaryHover,\n          [`+ ${componentCls}-group-addon ${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {\n            borderInlineStartColor: token.colorPrimaryHover\n          }\n        }\n      },\n      [`${componentCls}-affix-wrapper`]: {\n        borderRadius: 0\n      },\n      // fix slight height diff in Firefox:\n      // https://ant.design/components/auto-complete-cn/#components-auto-complete-demo-certain-category\n      [`${componentCls}-lg`]: {\n        lineHeight: token.lineHeightLG - 0.0002\n      },\n      [`> ${componentCls}-group`]: {\n        [`> ${componentCls}-group-addon:last-child`]: {\n          insetInlineStart: -1,\n          padding: 0,\n          border: 0,\n          [`${searchPrefixCls}-button`]: {\n            paddingTop: 0,\n            paddingBottom: 0,\n            borderStartStartRadius: 0,\n            borderStartEndRadius: token.borderRadius,\n            borderEndEndRadius: token.borderRadius,\n            borderEndStartRadius: 0\n          },\n          [`${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {\n            color: token.colorTextDescription,\n            '&:hover': {\n              color: token.colorPrimaryHover\n            },\n            '&:active': {\n              color: token.colorPrimaryActive\n            },\n            [`&${antCls}-btn-loading::before`]: {\n              insetInlineStart: 0,\n              insetInlineEnd: 0,\n              insetBlockStart: 0,\n              insetBlockEnd: 0\n            }\n          }\n        }\n      },\n      [`${searchPrefixCls}-button`]: {\n        height: token.controlHeight,\n        '&:hover, &:focus': {\n          zIndex: 1\n        }\n      },\n      [`&-large ${searchPrefixCls}-button`]: {\n        height: token.controlHeightLG\n      },\n      [`&-small ${searchPrefixCls}-button`]: {\n        height: token.controlHeightSM\n      },\n      '&-rtl': {\n        direction: 'rtl'\n      },\n      // ===================== Compact Item Customized Styles =====================\n      [`&${componentCls}-compact-item`]: {\n        [`&:not(${componentCls}-compact-last-item)`]: {\n          [`${componentCls}-group-addon`]: {\n            [`${componentCls}-search-button`]: {\n              marginInlineEnd: -token.lineWidth,\n              borderRadius: 0\n            }\n          }\n        },\n        [`&:not(${componentCls}-compact-first-item)`]: {\n          [`${componentCls},${componentCls}-affix-wrapper`]: {\n            borderRadius: 0\n          }\n        },\n        [`> ${componentCls}-group-addon ${componentCls}-search-button,\n        > ${componentCls},\n        ${componentCls}-affix-wrapper`]: {\n          '&:hover,&:focus,&:active': {\n            zIndex: 2\n          }\n        },\n        [`> ${componentCls}-affix-wrapper-focused`]: {\n          zIndex: 2\n        }\n      }\n    }\n  };\n};\nexport function initInputToken(token) {\n  // @ts-ignore\n  return mergeToken(token, {\n    inputAffixPadding: token.paddingXXS,\n    inputPaddingVertical: Math.max(Math.round((token.controlHeight - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 3),\n    inputPaddingVerticalLG: Math.ceil((token.controlHeightLG - token.fontSizeLG * token.lineHeightLG) / 2 * 10) / 10 - token.lineWidth,\n    inputPaddingVerticalSM: Math.max(Math.round((token.controlHeightSM - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 0),\n    inputPaddingHorizontal: token.paddingSM - token.lineWidth,\n    inputPaddingHorizontalSM: token.paddingXS - token.lineWidth,\n    inputPaddingHorizontalLG: token.controlPaddingHorizontal - token.lineWidth,\n    inputBorderHoverColor: token.colorPrimaryHover,\n    inputBorderActiveColor: token.colorPrimaryHover\n  });\n}\nconst genTextAreaStyle = token => {\n  const {\n    componentCls,\n    inputPaddingHorizontal,\n    paddingLG\n  } = token;\n  const textareaPrefixCls = `${componentCls}-textarea`;\n  return {\n    [textareaPrefixCls]: {\n      position: 'relative',\n      [`${textareaPrefixCls}-suffix`]: {\n        position: 'absolute',\n        top: 0,\n        insetInlineEnd: inputPaddingHorizontal,\n        bottom: 0,\n        zIndex: 1,\n        display: 'inline-flex',\n        alignItems: 'center',\n        margin: 'auto'\n      },\n      [`&-status-error,\n        &-status-warning,\n        &-status-success,\n        &-status-validating`]: {\n        [`&${textareaPrefixCls}-has-feedback`]: {\n          [`${componentCls}`]: {\n            paddingInlineEnd: paddingLG\n          }\n        }\n      },\n      '&-show-count': {\n        // https://github.com/ant-design/ant-design/issues/33049\n        [`> ${componentCls}`]: {\n          height: '100%'\n        },\n        '&::after': {\n          color: token.colorTextDescription,\n          whiteSpace: 'nowrap',\n          content: 'attr(data-count)',\n          pointerEvents: 'none',\n          float: 'right'\n        }\n      },\n      '&-rtl': {\n        '&::after': {\n          float: 'left'\n        }\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Input', token => {\n  const inputToken = initInputToken(token);\n  return [genInputStyle(inputToken), genTextAreaStyle(inputToken), genAffixStyle(inputToken), genGroupStyle(inputToken), genSearchInputStyle(inputToken),\n  // =====================================================\n  // ==             Space Compact                       ==\n  // =====================================================\n  genCompactItemStyle(inputToken)];\n});"],"mappings":"AAAA,SAASA,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE,SAASC,QAAQ,EAAEC,cAAc,QAAQ,aAAa;AACtD,SAASC,mBAAmB,QAAQ,0BAA0B;AAC9D,OAAO,MAAMC,mBAAmB,GAAGC,KAAK,KAAK;EAC3C;EACA,qBAAqB,EAAE;IACrBC,OAAO,EAAE;EACX,CAAC;EACD,gBAAgB,EAAE;IAChBD,KAAK;IACLE,UAAU,EAAE,MAAM,CAAC;EACrB,CAAC;;EAED,qBAAqB,EAAE;IACrBC,YAAY,EAAE;EAChB;AACF,CAAC,CAAC;AACF,OAAO,MAAMC,aAAa,GAAGC,KAAK,KAAK;EACrCC,WAAW,EAAED,KAAK,CAACE,qBAAqB;EACxCC,oBAAoB,EAAEH,KAAK,CAACI;AAC9B,CAAC,CAAC;AACF,OAAO,MAAMC,cAAc,GAAGL,KAAK,KAAK;EACtCC,WAAW,EAAED,KAAK,CAACE,qBAAqB;EACxCI,SAAS,EAAG,SAAQN,KAAK,CAACO,mBAAoB,MAAKP,KAAK,CAACQ,cAAe,EAAC;EACzEL,oBAAoB,EAAEH,KAAK,CAACI,SAAS;EACrCK,OAAO,EAAE;AACX,CAAC,CAAC;AACF,OAAO,MAAMC,gBAAgB,GAAGV,KAAK,KAAK;EACxCL,KAAK,EAAEK,KAAK,CAACW,iBAAiB;EAC9BC,eAAe,EAAEZ,KAAK,CAACa,wBAAwB;EAC/CZ,WAAW,EAAED,KAAK,CAACc,WAAW;EAC9BR,SAAS,EAAE,MAAM;EACjBS,MAAM,EAAE,aAAa;EACrBnB,OAAO,EAAE,CAAC;EACV,SAAS,EAAEoB,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAElB,aAAa,CAACT,UAAU,CAACU,KAAK,EAAE;IAC3DE,qBAAqB,EAAEF,KAAK,CAACc;EAC/B,CAAC,CAAC,CAAC;AACL,CAAC,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